<?php 

$this->set('items', $rss->items($liveEvents, 'EventRSS'));
function EventRSS($liveEvents) {
return array(
'title' =>$liveEvents['LiveEvent']['title'],
'description'=>$liveEvents['LiveEvent']['description'],
'pubDate' => $liveEvents['LiveEvent']['time'],
'link' =>$liveEvents['LiveEvent']['link'],
'guid'=>$liveEvents['LiveEvent']['link']
);
}
?>